Optimal. Leaf size=58 \[ -\frac{2 x^2 \cosh (x)}{\sqrt{\sinh (x)}}+8 x \sqrt{\sinh (x)}-\frac{16 i \sqrt{\sinh (x)} E\left (\left .\frac{\pi }{4}-\frac{i x}{2}\right |2\right )}{\sqrt{i \sinh (x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.118467, antiderivative size = 58, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.136, Rules used = {3316, 2640, 2639} \[ -\frac{2 x^2 \cosh (x)}{\sqrt{\sinh (x)}}+8 x \sqrt{\sinh (x)}-\frac{16 i \sqrt{\sinh (x)} E\left (\left .\frac{\pi }{4}-\frac{i x}{2}\right |2\right )}{\sqrt{i \sinh (x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3316
Rule 2640
Rule 2639
Rubi steps
\begin{align*} \int \left (\frac{x^2}{\sinh ^{\frac{3}{2}}(x)}-x^2 \sqrt{\sinh (x)}\right ) \, dx &=\int \frac{x^2}{\sinh ^{\frac{3}{2}}(x)} \, dx-\int x^2 \sqrt{\sinh (x)} \, dx\\ &=-\frac{2 x^2 \cosh (x)}{\sqrt{\sinh (x)}}+8 x \sqrt{\sinh (x)}-8 \int \sqrt{\sinh (x)} \, dx\\ &=-\frac{2 x^2 \cosh (x)}{\sqrt{\sinh (x)}}+8 x \sqrt{\sinh (x)}-\frac{\left (8 \sqrt{\sinh (x)}\right ) \int \sqrt{i \sinh (x)} \, dx}{\sqrt{i \sinh (x)}}\\ &=-\frac{2 x^2 \cosh (x)}{\sqrt{\sinh (x)}}+8 x \sqrt{\sinh (x)}-\frac{16 i E\left (\left .\frac{\pi }{4}-\frac{i x}{2}\right |2\right ) \sqrt{\sinh (x)}}{\sqrt{i \sinh (x)}}\\ \end{align*}
Mathematica [C] time = 1.2416, size = 68, normalized size = 1.17 \[ -\frac{2 \left (-8 \sqrt{2} (\sinh (x)-\cosh (x)) \sqrt{-\sinh (x) (\sinh (x)+\cosh (x))} \, _2F_1\left (-\frac{1}{4},\frac{1}{2};\frac{3}{4};\cosh (2 x)+\sinh (2 x)\right )+x^2 \cosh (x)-4 (x-2) \sinh (x)\right )}{\sqrt{\sinh (x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.073, size = 0, normalized size = 0. \begin{align*} \int{{x}^{2} \left ( \sinh \left ( x \right ) \right ) ^{-{\frac{3}{2}}}}-{x}^{2}\sqrt{\sinh \left ( x \right ) }\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int -x^{2} \sqrt{\sinh \left (x\right )} + \frac{x^{2}}{\sinh \left (x\right )^{\frac{3}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: UnboundLocalError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} - \int - \frac{x^{2}}{\sinh ^{\frac{3}{2}}{\left (x \right )}}\, dx - \int x^{2} \sqrt{\sinh{\left (x \right )}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int -x^{2} \sqrt{\sinh \left (x\right )} + \frac{x^{2}}{\sinh \left (x\right )^{\frac{3}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]